package com.afdor.rws.dtm.api.config;

import java.util.concurrent.Executor;

/**
 * Description: The interface Config change listener. <br/>
 * ClassName: com.afdor.rws.dtm.api.config.ConfigChangeListener.java <br/>
 *
 * @author <a href="mailto:scwsl@foxmail.com">悭梵</a>
 * @version V1.0
 * @date Created in 2019-01-20 11:15
 * @since JDK 1.8
 */
public interface ConfigChangeListener {

    /**
     * Gets executor.
     *
     * @return the executor
     */
    Executor getExecutor();

    /**
     * Receive config info.
     *
     * @param configInfo the config info
     */
    void receiveConfigInfo(final String configInfo);
}
